<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
            list-style: none;
        }

        ul{
            display: flex;
            border: 1px solid red;
            width: 800px;
            height: 500px;
            /* justify-content: center;  适用于多行 */
            /* align-items: center;  适用于单行*/
            align-content: flex-end;
            flex-shrink: 0;
            flex-wrap: wrap;
            
           
        }

        li{
            width: 100px;
            height: 100px;
            line-height: 100px;
            text-align: center;
            font-size: 30px;
            color: #fff;
           
            
        }

        li:nth-child(1){
               background-color: cadetblue;
        }
        li:nth-child(2){
               background-color: rosybrown;
        }
        li:nth-child(3){
               background-color: wheat;
        }
        li:nth-child(4){
               background-color: plum;
        }
        li:nth-child(5){
               background-color: magenta;
        }

        li:nth-child(6){
               background-color: rosybrown;
        }
        li:nth-child(7){
               background-color: wheat;
        }
        li:nth-child(8){
            background-color: cadetblue;
        }

        li:nth-child(9){
               background-color: plum;
        }
        li:nth-child(10){
               background-color: magenta;
        }
    </style>
</head>
<body>
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
        <li>4</li>
        <li>5</li>
        <li>1</li>
        <li>2</li>
        <li>3</li>
        <li>1</li>
        <li>2</li>
        <li>3</li>
    </ul>

    <script>
        console.log(parseInt("0xfff"));
        console.log(parseInt("070",8));
        console.log(parseFloat("0.2"));
    </script>
</body>
</html>